package com.mage.bean;

import java.util.Date;

public class User {
	private int userid;
	private String username;
	private String passwords;
	private Date birthday;
	private String sex;
	private int usertype;
	private double money;
	private double yxf;
	private double wxf;
	private String dengji;

	private String phone;
	private Date rhtime;


	public double getMoney() {
		return money;
	}

	public void setMoney(double money) {
		this.money = money;
	}

	public double getYxf() {
		return yxf;
	}

	public void setYxf(double yxf) {
		this.yxf = yxf;
	}

	public double getWxf() {
		return wxf;
	}

	public void setWxf(double wxf) {
		this.wxf = wxf;
	}

	public String getDengji() {
		return dengji;
	}

	public void setDengji(String dengji) {
		this.dengji = dengji;
	}

	public Date getRhtime() {
		return rhtime;
	}

	public void setRhtime(Date rhtime) {
		this.rhtime = rhtime;
	}

	public int getUsertype() {
		return usertype;
	}

	public void setUsertype(int usertype) {
		this.usertype = usertype;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public int getUserid() {
		return userid;
	}
	public void setUserid(int userid) {
		this.userid = userid;
	}
	public String getUsername() {
		return username;
	}
	public void setUsername(String username) {
		this.username = username;
	}
	public String getPasswords() {
		return passwords;
	}
	public void setPasswords(String passwords) {
		this.passwords = passwords;
	}
	public Date getBirthday() {
		return birthday;
	}
	public void setBirthday(Date birthday) {
		this.birthday = birthday;
	}
	public String getSex() {
		return sex;
	}
	public void setSex(String sex) {
		this.sex = sex;
	}
	public int getusertype() {
		return usertype;
	}
	public void setusertype(int usertype) {
		this.usertype = usertype;
	}


	@Override
	public String toString() {
		return "User{" +
				"userid=" + userid +
				", username='" + username + '\'' +
				", passwords='" + passwords + '\'' +
				", birthday=" + birthday +
				", sex='" + sex + '\'' +
				", usertype=" + usertype +
				", money=" + money +
				", yxf=" + yxf +
				", wxf=" + wxf +
				", dengji='" + dengji + '\'' +
				", phone='" + phone + '\'' +
				", rhtime=" + rhtime +
				'}';
	}
	public User(int userid, String username, String passwords, Date birthday, String sex, int usertype, double money, double yxf, double wxf, String dengji, String phone, Date rhtime) {
		super();
		this.userid = userid;
		this.username = username;
		this.passwords = passwords;
		this.birthday = birthday;
		this.sex = sex;
		this.usertype = usertype;
		this.money = money;
		this.yxf = yxf;
		this.wxf = wxf;
		this.dengji = dengji;
		this.phone = phone;
		this.rhtime = rhtime;
	}

	public User() {
		super();
	}
	
}
